<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        body {
            background-color: #333;
        }
        
        * {
            padding: 0px;
            margin: 0px;
        }
        
        .map {
            position: relative;
            width: 746px;
            height: 617px;
            margin: 0 auto;
            margin-top: 100px;
            background: url(./media/map.png);
        }
        
        .city {
            width: 8px;
            height: 8px;
            position: absolute;
            background-color: red;
            border-radius: 50%;
        }
        
        .bj {
            top: 228px;
            right: 191px;
        }
        
        .tb {
            top: 499px;
            right: 78px;
        }
        
        .gz {
            top: 540px;
            right: 183px;
        }
        
        .city div[class^="pulse"] {
            position: absolute;
            width: 8px;
            height: 8px;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            border-radius: 50%;
            box-shadow: 0 0 12px red;
            animation: amplification 1.2s linear infinite;
        }
        
        .pulse1 {
            animation-delay: 0.4s !important;
        }
        
        .pulse2 {
            animation-delay: 0.8s !important;
        }
        
        .pulse3 {
            animation-delay: 1.2s !important;
        }
        
        @keyframes amplification {
            0% {}
            70% {
                /* transform: scale(5);  我们不要用scale 因为他会让 阴影变大*/
                width: 40px;
                height: 40px;
                opacity: 1;
            }
            100% {
                width: 80px;
                height: 80px;
                opacity: 0;
            }
        }
    </style>
</head>

<body>
    <div class="map">
        <div class="city bj">
            <div class="pulse1"></div>
            <div class="pulse2"></div>
            <div class="pulse3"></div>
        </div>
        <div class="city tb">
            <div class="pulse1"></div>
            <div class="pulse2"></div>
            <div class="pulse3"></div>
        </div>
        <div class="city gz">
            <div class="pulse1"></div>
            <div class="pulse2"></div>
            <div class="pulse3"></div>
        </div>
    </div>
</body>

</html>